Fixed splitting of role/user name when username has a '.' in it

This may still be an issue if users create roles with a '.' in the name though.
We will probably have to disallow that in the role naming convention.