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

Adding the ability to add '.' in the username
So this way users can be a list but still have a front facing dict for the api? What do you think @barnabycourt?