Fix match regular expression in auth