Implemented basic auth checks to ProjectController. Note this controller _must_ be refactored in future.