Happened to me when I pressed "Login" from the Core. Just went back and tried again, and then it worked. Dunno if it will be useful, but I guess it won't hurt if not:
<!-- load_from_return() -->
<!-- db_query(insert into BattleMaster.DebugLog set TS=NOW(), Severity='debug', Trace='', Message='load_from_return()', UID=-1, PID=-1, World=-1) -->
<!-- load_by_ticket(48660, c151280af08b62f481eb784b00bbeebf7a2f9553, c9f7acfcc79f52beccca7e13379d4c492f4d6994) -->
<!-- db_query(insert into BattleMaster.DebugLog set TS=NOW(), Severity='debug', Trace='', Message='load_by_ticket(48660)', UID=-1, PID=-1, World=-1) -->
<!-- verify_ticket(48660) -->
<!-- db_query(insert into BattleMaster.DebugLog set TS=NOW(), Severity='debug', Trace='', Message='verify_ticket(48660)', UID=-1, PID=-1, World=-1) -->
<!-- db_query(delete from tickets where created < (NOW() - INTERVAL 10 MINUTE)) -->
<!-- db_query(select * from tickets where id = 48660) -->
<!-- no such ticket --><!-- db_query(insert into BattleMaster.DebugLog set TS=NOW(), Severity='error', Trace='', Message='no such ticket', UID=-1, PID=-1, World=-1) -->
<!-- core knows you, now checking you into BM -->
<!-- no linked account continue as guest -->
SSO did not work as expected. Oops.