Added basic authentication decorator for API
Added authentication test routes to API