Catch expired JWT errors properly
This PR fixes an issue where JWT errors weren't handled and instead resulted in bare 500 errors.
Edited by Derrick Liu
This PR fixes an issue where JWT errors weren't handled and instead resulted in bare 500 errors.