Fixes #2373
* add more test for login links and fix a bug on action retrieve
* add public links check * more links for query parameters