Move unauthorized request context to shared contexts

https://github.com/fs/rails-base-api/issues/123
Is `4000` a default port?