Limit user access and new mailbox

This will limit the number of user that can access owncloud via imap.

fix for #1902

It will also allow server urls as explained in the same issue.