Fixed the unclear message (null) in case of unauthorized error.