Basic authentication decorator for basic auth authentication of users