1158138, 1113629 - Allow '.' in logins, permissions

Adding the ability to add '.' in the username
Nevermind, IdAllowDots is a separate class so the tests do need a separate class also. We might want to replace all uses in the future, but that should not be in this PR. LGTM as is.