common.misc: Add function for getting local path from URL
users: Better login forms.