This commit fixes two codepaths which where incorrectly working with capitalized usernames as we were doing a mix of username_lower and non lower username. Also adds two specs for these cases.
system_user_max_attachment_size_kb