Fixed userId detection on /m/badges/ - fix #56